Skip to content

Conversation

ilevkivskyi
Copy link
Member

Fixes #6672

A possible downside is that error messages may be scarier for new users, but on the other hand maybe more people will learn about Literal.

Copy link
Collaborator

@msullivan msullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this

@msullivan msullivan merged commit 4ff341f into python:master Aug 9, 2019
@ilevkivskyi ilevkivskyi deleted the strict-eq-literals branch August 9, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--strict-equality should work with literal types
2 participants